
import { AppModel } from '../models/app'

export class AppService {
  appModel
  constructor() {
    this.appModel = new AppModel()
  }
  // 获取APP用户信息
  async getAPPUserInfo() {
    return await this.appModel.getAPPUserInfo()
  }
  // 打开APP购买链接
  async openAppBuyLink(params) {
    return await this.appModel.openAppBuyLink(params)
  }
  // 打开APP登录页
  async openAppLoginPage() {
    return await this.appModel.openAppLoginPage()
  }
  // 关闭页面
  async closeAppPage() {
    return await this.appModel.closeAppPage()
  }
}